<template>
  <div class="home">
     <my-input v-model="Partmsg"></my-input>
     <!-- <my-input :value="Partmsg" @input="Partmsg = $event.target.value"></my-input> -->
     <p>{{Partmsg}}</p>
  </div>
</template>

<script>
import MyInput from '../components/myInput.vue'
// @ is an alias to /src

export default {
  name: 'Home',
  components: {
    MyInput
  },
  data(){
    return{
      Partmsg:'sdfg'
    }
  },
  methods: {
    inputFtn(val){
      this.Partmsg = val
    }
  },
}
</script>
